package com.taxinfo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.taxinfo.dao.AccBalMapInfoMapper;
import com.taxinfo.dao.MainReportMapper;
import com.taxinfo.pojo.dto.AccBalMapInfoDto;
import com.taxinfo.pojo.vo.AccBalMapInfo;
import com.taxinfo.pojo.vo.MainReport;
import com.taxinfo.service.AccBalMapInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  科目匹配余额关系服务处理类
 * </p>
 *
 * @author wanghy
 * @since 2025-01-20
 */
@Service("AccBalMapInfoServiceImpl")
public class AccBalMapInfoServiceImpl extends ServiceImpl<AccBalMapInfoMapper, AccBalMapInfo> implements AccBalMapInfoService {

    @Autowired
    private AccBalMapInfoMapper accBalMapInfoMapper;

    @Override
    public List<AccBalMapInfoDto> selectAllData(String id) {
        return accBalMapInfoMapper.selectAllData(id);
    }

    @Override
    public List<AccBalMapInfoDto> selectDataByParentId(String id) {
        return accBalMapInfoMapper.selectDataByParentId(id);
    }

    @Override
    public List<AccBalMapInfoDto> selectLastDataInfo(String key) {
        return accBalMapInfoMapper.selectLastDataInfo(key);
    }

}
